﻿/*******************************************************************************
 * Copyright © 2017 FriendStar.Framework 版权所有
 * Author: FZH
 * Description: FriendStar快速开发平台
 * Website：http://www.FriendStar.cn
*********************************************************************************/
using System;
using SqlSugar;

namespace FriendStar.Domain.Entity.BOM
{
    /// <summary>
	/// 数据表 CLDE_11_MX_CLDEerialQuota 对应的数据实体类，数据表描述：材料定额明细表
	/// </summary>
    [Serializable]
    [SugarMapping(TableName = "CLDE_11_MX_CLDEerialQuota")]
    public partial class CLDE_11_MX_CLDEerialQuotaEntity
    {
        ///<summary>
        ///材料定额ID
        ///</summary>
        public string CldeID { get; set; }
        ///<summary>
        ///使用单位
        ///</summary>
        public string UseUnit { get; set; }
        ///<summary>
        ///零件编号
        ///</summary>
        public string FProductionNO { get; set; }
        ///<summary>
        ///生产单位
        ///</summary>
        public string ProductUnit { get; set; }
        ///<summary>
        ///生产车间
        ///</summary>
        public string ProduWorkshop { get; set; }
        ///<summary>
        ///材料分类编码
        ///</summary>
        public string MaterialNO { get; set; }
        ///<summary>
        ///材料牌号
        ///</summary>
        public string MaterialCode { get; set; }
        ///<summary>
        ///材料规格
        ///</summary>
        public string MaterialSizes { get; set; }
        ///<summary>
        ///标准编号
        ///</summary>
        public string StandardNumber { get; set; }
        ///<summary>
        ///特殊要求
        ///</summary>
        public string MaterialDemand { get; set; }
        ///<summary>
        ///可制件数
        ///</summary>
        public decimal? ProduNumber { get; set; }
        ///<summary>
        ///毛坯类别
        ///</summary>
        public string RoughsType { get; set; }
        ///<summary>
        ///纤维方向
        ///</summary>
        public string Fiberdirection { get; set; }
        ///<summary>
        ///毛坯尺寸
        ///</summary>
        public string RoughsSize { get; set; }
        ///<summary>
        ///宽正公差
        ///</summary>
        public string WposiTolerance { get; set; }
        ///<summary>
        ///宽负公差
        ///</summary>
        public string WnegaTolerance { get; set; }
        ///<summary>
        ///长正公差
        ///</summary>
        public string HposiTolerance { get; set; }
        ///<summary>
        ///长负公差
        ///</summary>
        public string HnegaTolerance { get; set; }
        ///<summary>
        ///毛坯条料剪切规格
        ///</summary>
        public string Roughsstandard { get; set; }
        ///<summary>
        ///零件开卷落料片重
        ///</summary>
        public decimal? MaterialQuota { get; set; }
        ///<summary>
        ///零件净重
        ///</summary>
        public decimal? LsNetWeight { get; set; }
        ///<summary>
        ///产品净重
        ///</summary>
        public decimal? CNetWeight { get; set; }
        ///<summary>
        ///零件毛重
        ///</summary>
        public decimal? LRoughsWeight { get; set; }
        ///<summary>
        ///产品毛重
        ///</summary>
        public decimal? CRoughsWeight { get; set; }
        ///<summary>
        ///零件消耗
        ///</summary>
        public decimal? Lconsume { get; set; }
        ///<summary>
        ///产品消耗
        ///</summary>
        public decimal? Pconsume { get; set; }
        ///<summary>
        ///零件材料利用率
        ///</summary>
        public decimal? LUtilization { get; set; }
        ///<summary>
        ///产品材料利用率
        ///</summary>
        public decimal? PUtilization { get; set; }
        ///<summary>
        ///利废零件
        ///</summary>
        public string WasteFProductionNO { get; set; }
        ///<summary>
        ///利废单位
        ///</summary>
        public string WasteUnit { get; set; }
        ///<summary>
        ///利废车间
        ///</summary>
        public string WasteWorkshop { get; set; }
        ///<summary>
        ///利废比例
        ///</summary>
        public decimal? WasteProportion { get; set; }
        ///<summary>
        ///代用材料
        ///</summary>
        public string SubstitMaterial { get; set; }
        ///<summary>
        ///备注说明
        ///</summary>
        public string Note { get; set; }
        ///<summary>
        ///更改标志（编辑/冻结/发布）
        ///</summary>
        public string MaintainStatus { get; set; }
        ///<summary>
        ///材料定额更改单编号
        ///</summary>
        public string MateAlterTecNO { get; set; }
        ///<summary>
        ///材料定额更改单生效日期
        ///</summary>
        public string MateAlterTecDate { get; set; }
        ///<summary>
        ///创建人员
        ///</summary>
        public string FCreateBy { get; set; }
        ///<summary>
        ///创建日期
        ///</summary>
        public string FCreateDate { get; set; }
        ///<summary>
        ///创建时间
        ///</summary>
        public string FCreateTime { get; set; }
        ///<summary>
        ///最后修改人员
        ///</summary>
        public string FUpdateBy { get; set; }
        ///<summary>
        ///最后修改日期
        ///</summary>
        public string FUpdateDate { get; set; }
        ///<summary>
        ///最后修改时间
        ///</summary>
        public string FUpdateTime { get; set; }
    }


    public class CLDE_11_MX_CLDEerialQuotaEntityExt
    {
        public decimal? MaterialSizes1 { get; set; }
        public decimal? MaterialSizes2 { get; set; }
        public string MaterialSizes3 { get; set; }

        public decimal? RoughsSize1 { get; set; }
        public decimal? RoughsSize2 { get; set; }
        public decimal? RoughsSize3 { get; set; }
        public decimal? RoughsSize4 { get; set; }
        public decimal? RoughsSize5 { get; set; }

        public decimal? Roughsstandard1 { get; set; }
        public decimal? Roughsstandard2 { get; set; }

    }

}